package com.hdcircles.autoform.model.http;

import com.hdcircles.autoform.model.bean.MapData;
import com.hdcircles.autoform.model.bean.MapHttpBody;

import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by hdcircles on 2017/1/10.
 */

public interface MapApis {

    String Host="http://yuntuapi.amap.com/datamanage/";

    @POST("table/create")
    Observable<MapData> createMap(@Body MapHttpBody mapHttp);

    @POST("data/create")
    Observable<MapData> createData(@Body MapHttpBody mapHttpBody);
}
